from datetime import datetime

import pandas as pd

from pppoe import get_pppoe_by_date

pppoe = pd.read_csv(get_pppoe_by_date(datetime.strptime("2025-06-10", "%Y-%m-%d")), usecols=[0, 4, 5, 6, 7, 10]
                    , names=['宽带账号', 'OLTIP', 'OLTPORT', 'onuid', 'SN', 'pppoe上线时间'],
                    dtype=str)
print(pppoe)
